// 我的地块
import request from '@/api/socialized-servce/index.js' //引入http.js
const api = request
export default {
	// 查询地块
	queryMyarable(params) {
		let url = 'service/service/facility/queryPageByConditionAndGeo'
		return api.request(url, 'post', {
			...params
		})
	},
	// 添加
	add(params) {
		let url = 'service/service/facility/add'
		return api.request(url, 'post', {
			...params
		})
	},
	// 编辑
	edit(params) {
		let url = 'service/service/facility/edit'
		return api.request(url,'put',{
			...params
		})
	}
}